package com.cmict.data.system.controller.admin.conf.vo;

import com.cmict.data.framework.common.pojo.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;


import java.time.LocalDateTime;

import static com.cmict.data.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;


/**
 * @author liutao
 * @date 2022/4/22
 */
@ApiModel("管理后台 - 系统通用配置信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ConfPageReqVO extends PageParam {

    @ApiModelProperty(value = "配制key")
    private String confKey;

    @ApiModelProperty(value = "说明")
    private String description;

    @ApiModelProperty(value = "key的业务类型")
    private String type;

    @ApiModelProperty(value = "配制key")
    private String confValue;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "开始创建时间")
    private LocalDateTime beginCreateTime;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "结束创建时间")
    private LocalDateTime endCreateTime;

}
